package com.sky.service;

import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void addDish(DishVO dishVO);

    void startOrStop(Integer status, long id);

    void edit(DishVO dishVO);

    void deleteById(long[] id);


    DishVO getById(long id);

    List<DishVO> list(Dish dish);
}
